<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>订单详情</title>
<link href="css/style.css" rel="stylesheet" type="text/css">
<link href="css/tuangou.css" rel="stylesheet" type="text/css">
<link href="css/order.css" rel="stylesheet" type="text/css">
<link href="css/vip.css" rel="stylesheet" type="text/css">
<link href="css/head.css" type="text/css" rel="stylesheet">
<link href="css/foot.css" type="text/css" rel="stylesheet">
</head>
<body>
<script type="text/javascript" src="img/login.js"></script>
<script type="text/javascript">
function checkSerach(){
var productname = document.getElementById("title").value;
	if(productname == null || productname == ""){
		
		alert('请输入商品名称');
		return false;
	}	
	else{
		if(productname.replace(/\s/g,"") == ""){
			window.location.href = "menu.do?method=MenuShow";
			return false;
		}else{
			return true;
		}
	
	}
}
</script>
<#------------------------------ include file  -------------------------------------------->
<#include "/WEB-INF/view/header.ftl" />
<#------------------------------  include file  ------------------------------------------->
<div class="share_body">
  <table class="table3" width="40%" align="center" bgcolor="#ffcc66" border="0" cellpadding="3" cellspacing="1">
    <tbody>
      <tr>
        <td class="table_td1" width="21%" bgcolor="#f8f1eb">配送方式：</td>
        <td width="79%" bgcolor="#ffffff"> ${order.deliveryMode} </td>
      </tr>
      <tr>
        <td class="table_td1" valign="top" width="21%" bgcolor="#f8f1eb"> 配送地址： </td>
        <td valign="top" bgcolor="#ffffff"><table width="100%" border="0" cellpadding="2" cellspacing="0">
            <tbody>
              <tr>
                <td width="19%" align="left"> 姓名： </td>
                <td width="81%"> ${order.receiver?if_exists} </td>
              </tr>
              <tr>
                <td align="left"> 手机： </td>
                <td> ${order.receiveMobile?if_exists} </td>
              </tr>
              <tr>
                <td align="left"> 邮箱： </td>
                <td> ${order.receiveMail?if_exists}</td>
              </tr>
              <tr>
                <td align="left"> 地址： </td>
                <td> ${address?if_exists} </td>
              </tr>
            </tbody>
          </table></td>
      </tr>
      <tr>
        <td class="table_td1" width="21%" bgcolor="#f8f1eb"> 配送时间： </td>
        <td valign="top" bgcolor="#ffffff"> ${order.deliveryTime?if_exists}<br>
        <#if specials?exists>
          您选择的时间:${order.specials?if_exists}
        </#if> 
         </td>
      </tr>
      <tr>
        <td class="table_td1" width="21%" bgcolor="#f8f1eb"> 付款方式： </td>
        <td valign="top" bgcolor="#ffffff"> ${order.paymethods?if_exists} </td>
      </tr>
    </tbody>
  </table>
  <table class="table3" width="100%" align="center" border="0" cellpadding="0" cellspacing="0">
    <tbody>
      <tr>
        <td width="5"></td>
        <td valign="top" align="left"><!-- 已经配送完成 -->
          <table class="table3" id="table26" width="99%" bgcolor="#e0e0e0" border="0" cellpadding="5" cellspacing="1">
            <tbody>
              <tr>
                <td class="plist_title4_2" colspan="9" align="left" bgcolor="#fcdbba"> ${order.orderId}订单明细 </td>
              </tr>
              <tr>
                <td class="plist_title4_3" width="29%" align="center" bgcolor="#eaeaea"> 商品名称 </td>
                <td class="plist_title4_3" width="8%" align="center" bgcolor="#eaeaea"> 碧家价 </td>
                <td class="plist_title4_3" width="8%" align="center" bgcolor="#eaeaea"> 所得积分 </td>
                <td class="plist_title4_3" width="7%" align="center" bgcolor="#eaeaea"> 实际数量 </td>
                <td class="plist_title4_3" width="8%" align="center" bgcolor="#eaeaea"> 实际金额 </td>
              </tr>
              <#list orderItems as orderItem>
              <tr>
                <td class="plist_title2" align="center" bgcolor="#ffffff"> ${orderItem.item_name} </td>
                <td align="center" bgcolor="#ffffff"> ￥ <font color="#ff0000">${orderItem.b2hprice}元 / ${orderItem.realunit} </font> </td>
                <td align="center" bgcolor="#ffffff"> ${orderItem.makepoint} </td>
                <td align="center" bgcolor="#ffffff"> ${orderItem.realqty} ${orderItem.realunit}</td>
                <td align="center" bgcolor="#ffffff"> ￥${orderItem.realqty*orderItem.b2hprice}元 </td>
              </tr>
              </#list>
            </tbody>
          </table>
          <!-- 还没有配送完成 -->
        </td>
      </tr>
    </tbody>
  </table>
</div>
<link href="img/style.css" type="text/css" rel="stylesheet">
<link href="img/foot.css" type="text/css" rel="stylesheet">
<div class="foot_outer1">
  <div class="foot02"></div>
  <div class="foot02"></div>
  <div class="foot02"></div>
  <div class="foot02"></div>
  <div class="foot03"></div>
</div>
<#------------------------------ include file  -------------------------------------------->
<#include "/WEB-INF/view/footer.ftl" />
<#------------------------------  include file  ------------------------------------------->
</body>
</html>
